

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="adminmain" />
        <title>Activity Report</title>
    </head>
    <body>
        
        
        <div class="body">
        
            <h1>Activity Report</h1>
            
            <g:if test="${flash.message}">
            	<div class="message">${flash.message}</div>
            </g:if>
            
            <div class="list">
                <table>
                    <thead>
                        <tr>
				<td>Id</td>

				<td>Partner</td>
				
				<td>Date</td>
				
				<td>IP Address</td>				

                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${referralReportList}" status="i" var="referralLog">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
  			    <td>${referralLog.id}</td>

                            <td>${referralLog.partner.partnerName}</td>
                            
                            <td>${referralLog.dateCreated?.encodeAsHTML()}</td>
                            
                            <td>${referralLog.ipAddress?.encodeAsHTML()}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            

            
        </div>
    </body>
</html>
